package com.woniu.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class User implements Serializable {
    private Long id;
    private String name;
    private Integer age;
    private String email;
    @TableLogic  // 表示当前字段是一个逻辑删除字段
    private Integer isDel;
}